package com.flycms.module.soft.dao;
import java.util.List;

import com.flycms.module.soft.model.Soft;
import com.flycms.module.soft.model.SoftCategory;
import org.apache.ibatis.annotations.Param;

public interface SoftCategoryDao {
	int insert(SoftCategory record);
	List<SoftCategory> queryAll();
	int delete(Integer id);
	SoftCategory queryByPk(Integer id);
	int update(SoftCategory record);
	List<SoftCategory> queryByPage(@Param(value = "category_name") String category_name,
						   @Param(value = "orderby") String orderby,
						   @Param(value = "order") String order,
						   @Param(value = "offset") Integer offset,
						   @Param(value = "rows") Integer rows);
	int countCategory(@Param(value = "category_name") String category_name);
}
 